<div class="chidoansvs view">
<h2><?php  __('Chidoansv');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $chidoansv['Chidoansv']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Khoahoc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($chidoansv['Khoahoc']['id'], array('controller' => 'khoahocs', 'action' => 'view', $chidoansv['Khoahoc']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Khoa'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($chidoansv['Khoa']['id'], array('controller' => 'khoas', 'action' => 'view', $chidoansv['Khoa']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tenchidoan'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $chidoansv['Chidoansv']['tenchidoan']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghichu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $chidoansv['Chidoansv']['ghichu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Chidoansv', true), array('action' => 'edit', $chidoansv['Chidoansv']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Chidoansv', true), array('action' => 'delete', $chidoansv['Chidoansv']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $chidoansv['Chidoansv']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Chidoansvs', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chidoansv', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Khoahocs', true), array('controller' => 'khoahocs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Khoahoc', true), array('controller' => 'khoahocs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Khoas', true), array('controller' => 'khoas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Khoa', true), array('controller' => 'khoas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Loaicdsvs', true), array('controller' => 'loaicdsvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Loaicdsv', true), array('controller' => 'loaicdsvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phicdsvs', true), array('controller' => 'phicdsvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phicdsv', true), array('controller' => 'phicdsvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phongtraosvs', true), array('controller' => 'phongtraosvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phongtraosv', true), array('controller' => 'phongtraosvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sinhviens', true), array('controller' => 'sinhviens', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sinhvien', true), array('controller' => 'sinhviens', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Loaicdsvs');?></h3>
	<?php if (!empty($chidoansv['Loaicdsv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Xeploai Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th><?php __('Hocky Id'); ?></th>
		<th><?php __('Duyet'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($chidoansv['Loaicdsv'] as $loaicdsv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $loaicdsv['id'];?></td>
			<td><?php echo $loaicdsv['xeploai_id'];?></td>
			<td><?php echo $loaicdsv['chidoansv_id'];?></td>
			<td><?php echo $loaicdsv['hocky_id'];?></td>
			<td><?php echo $loaicdsv['duyet'];?></td>
			<td><?php echo $loaicdsv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'loaicdsvs', 'action' => 'view', $loaicdsv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'loaicdsvs', 'action' => 'edit', $loaicdsv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'loaicdsvs', 'action' => 'delete', $loaicdsv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $loaicdsv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Loaicdsv', true), array('controller' => 'loaicdsvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Phicdsvs');?></h3>
	<?php if (!empty($chidoansv['Phicdsv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Loaichiphi Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th><?php __('Ngaynop'); ?></th>
		<th><?php __('Sotien'); ?></th>
		<th><?php __('Lydo'); ?></th>
		<th><?php __('Nguoinhan'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($chidoansv['Phicdsv'] as $phicdsv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phicdsv['id'];?></td>
			<td><?php echo $phicdsv['loaichiphi_id'];?></td>
			<td><?php echo $phicdsv['chidoansv_id'];?></td>
			<td><?php echo $phicdsv['ngaynop'];?></td>
			<td><?php echo $phicdsv['sotien'];?></td>
			<td><?php echo $phicdsv['lydo'];?></td>
			<td><?php echo $phicdsv['nguoinhan'];?></td>
			<td><?php echo $phicdsv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phicdsvs', 'action' => 'view', $phicdsv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phicdsvs', 'action' => 'edit', $phicdsv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phicdsvs', 'action' => 'delete', $phicdsv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phicdsv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phicdsv', true), array('controller' => 'phicdsvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Phongtraosvs');?></h3>
	<?php if (!empty($chidoansv['Phongtraosv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Cap Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th><?php __('Loaiphongtrao Id'); ?></th>
		<th><?php __('Tenphongtrao'); ?></th>
		<th><?php __('Ngaybatdau'); ?></th>
		<th><?php __('Ngayketthuc'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($chidoansv['Phongtraosv'] as $phongtraosv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phongtraosv['id'];?></td>
			<td><?php echo $phongtraosv['cap_id'];?></td>
			<td><?php echo $phongtraosv['chidoansv_id'];?></td>
			<td><?php echo $phongtraosv['loaiphongtrao_id'];?></td>
			<td><?php echo $phongtraosv['tenphongtrao'];?></td>
			<td><?php echo $phongtraosv['ngaybatdau'];?></td>
			<td><?php echo $phongtraosv['ngayketthuc'];?></td>
			<td><?php echo $phongtraosv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phongtraosvs', 'action' => 'view', $phongtraosv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phongtraosvs', 'action' => 'edit', $phongtraosv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phongtraosvs', 'action' => 'delete', $phongtraosv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phongtraosv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phongtraosv', true), array('controller' => 'phongtraosvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Sinhviens');?></h3>
	<?php if (!empty($chidoansv['Sinhvien'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Tongiao Id'); ?></th>
		<th><?php __('Phuongxa Id'); ?></th>
		<th><?php __('Dantoc Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th><?php __('Hoten'); ?></th>
		<th><?php __('Ngaysinh'); ?></th>
		<th><?php __('Noisinh'); ?></th>
		<th><?php __('Diachi'); ?></th>
		<th><?php __('Phai'); ?></th>
		<th><?php __('Sodienthoai'); ?></th>
		<th><?php __('Email'); ?></th>
		<th><?php __('Ngayvaodoan'); ?></th>
		<th><?php __('Noivaodoan'); ?></th>
		<th><?php __('Ngayvaodang'); ?></th>
		<th><?php __('Noivaodang'); ?></th>
		<th><?php __('Ngaychuyenden'); ?></th>
		<th><?php __('Ngaychuyendi'); ?></th>
		<th><?php __('Truongthanhdoan'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($chidoansv['Sinhvien'] as $sinhvien):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $sinhvien['id'];?></td>
			<td><?php echo $sinhvien['tongiao_id'];?></td>
			<td><?php echo $sinhvien['phuongxa_id'];?></td>
			<td><?php echo $sinhvien['dantoc_id'];?></td>
			<td><?php echo $sinhvien['chidoansv_id'];?></td>
			<td><?php echo $sinhvien['hoten'];?></td>
			<td><?php echo $sinhvien['ngaysinh'];?></td>
			<td><?php echo $sinhvien['noisinh'];?></td>
			<td><?php echo $sinhvien['diachi'];?></td>
			<td><?php echo $sinhvien['phai'];?></td>
			<td><?php echo $sinhvien['sodienthoai'];?></td>
			<td><?php echo $sinhvien['email'];?></td>
			<td><?php echo $sinhvien['ngayvaodoan'];?></td>
			<td><?php echo $sinhvien['noivaodoan'];?></td>
			<td><?php echo $sinhvien['ngayvaodang'];?></td>
			<td><?php echo $sinhvien['noivaodang'];?></td>
			<td><?php echo $sinhvien['ngaychuyenden'];?></td>
			<td><?php echo $sinhvien['ngaychuyendi'];?></td>
			<td><?php echo $sinhvien['truongthanhdoan'];?></td>
			<td><?php echo $sinhvien['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'sinhviens', 'action' => 'view', $sinhvien['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'sinhviens', 'action' => 'edit', $sinhvien['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'sinhviens', 'action' => 'delete', $sinhvien['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $sinhvien['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Sinhvien', true), array('controller' => 'sinhviens', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
